﻿using System.ComponentModel.DataAnnotations;

using Whoever.Framework.Base;

namespace Whoever.Health.Business.Entities
{
    public class Phone : BusinessEntity
    {
        [Key]
        public int Id { get; set; }
        public int TypeId { get; set; }
        public int ContactId { get; set; }
        public string Number { get; set; } //to be separated 
        public string Description { get; set; }

        public virtual PhoneType Type { get; set; }
        public virtual Contact Contact { get; set; }
    }
}
